package com.yoda.mall.model.entity.pms;

import lombok.Data;

import java.io.Serializable;

/**
 * sku的库存(PmsSkuStock)实体类
 *
 * @author makejava
 * @since 2022-12-16 16:20:45
 */
@Data
public class PmsSkuStock implements Serializable {
    private static final long serialVersionUID = 290319624505182273L;
    
    private Long id;
    
    private Long productId;
    /**
     * sku编码
     */
    private String skuCode;
    
    private Double price;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 预警库存
     */
    private Integer lowStock;
    /**
     * 展示图片
     */
    private String pic;
    /**
     * 销量
     */
    private Integer sale;
    /**
     * 单品促销价格
     */
    private Double promotionPrice;
    /**
     * 锁定库存
     */
    private Integer lockStock;
    /**
     * 商品销售属性，json格式
     */
    private String spData;


}

